<template>
	<view>
		<view class="banner-swiper">
			<image class="banner-image" src="../../static/images/common/banner1.png" mode="aspectFit"></image>
			
		</view>
		<view class="input-box" style="position: relative;left:220rpx;top: 18rpx;">
			<text class="input">{{data.title}}</text>
		</view>
		<view class="body" v-html="data.content">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{}
			};
		},
		methods: {
			
		},
		onLoad() {
			uni.request({
				url: 'https://baiyi.kent.work/api/v1/system/getCompanyInfoWx',
				method: 'POST',
				data: {
					
				},
				success: res => {
					console.log(res)
					this.data=res.data.data
				},
				fail: () => {},
				complete: () => {}
			});
		}
	};
</script>

<style>
	.banner-image{
		height: 100%;
		width: 100%;
	}
	.banner-swiper{
		width: 100%;
		height: 450rpx;
	}
	.input-box{
		width:322rpx;
		height: 56rpx;
		background: #3d9c36;
		border-radius: 28rpx;
	}
	.body {
		width: 658rpx;
		height: 288rpx;
		font-size: 24rpx;
		font-family: PingFang SC, PingFang SC-Medium;
		font-weight: 500;
		text-align: LEFT;
		color: #333333;
		line-height: 48rpx;
		margin-left: 46rpx;
		margin-right: 46rpx;
		text-indent: 2em;
		margin-top: 40rpx;
	}
	.input{
		width: 112rpx;
		height: 56rpx;
		line-height: 56rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #FFFFFF;
		padding-left: 10px;
		
	}
	
</style>
